package com.rdkl.printing.dao.system;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.rdkl.printing.model.${entity};

@Repository
public interface ${entity}Dao {

    /**
     * ${table.comment}分页列表信息
     * @author ${author}
     * @date ${date}
     */
    List<${entity}DTO> getPage${entity}(Map<String, Object> paramMap);

    /**
     * 更新${table.comment}信息
     * @author ${author}
     * @date ${date}
     */
    void update${entity}(${entity} ${entity?uncap_first});

    /**
     * 插入${table.comment}信息
     * @author ${author}
     * @date ${date}
     */
    void insert${entity}(${entity} ${entity?uncap_first});

    /**
     * 按id查询${table.comment}信息
     * @author ${author}
     * @date ${date}
     */
    ${entity} get${entity}ById(Integer ${entity?uncap_first}Id);

    /**
     * 按ids删除
     *
     * @param ids
     * @return void
     * @Author ${author}
     * @Date ${date}
     */
    void delete${entity}ByIds(List<Integer> ids);

}
